{if $smarty.get.process}
{if $core->database->add_comment($smarty.post.postid,$smarty.post.name,$smarty.post.title,$smarty.post.comment) == 1}
Comment successfully added
{else}
Comment addition error
{/if}
{/if}